package com.example.springbootdemo.proxy.staticproxy.implproxy;

/**
 * @author ：cici
 * @date ：Created in 2019/10/17 13:34
 */
public class DoSomethingImpl implements Logic {

    Logic logic;

    public DoSomethingImpl(Logic logic){
        this.logic = logic;
    }

    @Override
    public void logic() {
        System.out.println("do something");
        logic.logic();
    }

}
